package com.ruifu.common.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruifu.common.eneity.BaseEntityPlus;
import lombok.Data;

import java.io.Serializable;

/**
 * 项目任务启动完成约束条件（任务）实体类
 */
@Data
@TableName("pm_ptcondtask")
public class PmPtCondTask extends BaseEntityPlus implements Serializable {

    private static final long serialVersionUID = -4089652736116030086L;
    /**
     * 表ID
     */
    @TableId(value = "Pc_id", type = IdType.AUTO)
    private Long pcId;
    /**
     * 前序任务ID
     */
    @TableField(value = "Pc_pId")
    private Long pcPId;
    /**
     * 前序任务状态
     */
    @TableField(value = "Pc_pStatus")
    private String pcPStatus;
    /**
     * 后继任务ID
     */
    @TableField(value = "Pc_sId")
    private Long pcSId;
    /**
     * 后继任务状态S启动、F完成
     */
    @TableField(value = "Pc_sStatus")
    private String pcSStatus;
    /**
     * true驳回条件，false正向条件
     */
    @TableField(value = "Pc_isBack")
    private Boolean pcIsBack;
    /**
     * 说明
     */
    @TableField(value = "Pc_remark")
    private String pcRemark;

    @TableField(exist = false)
    private PmPtMain pmPtMain;
}
